Microsoft® JScript debugger Statement |
| Home |
|
Suspends code execution.
debugger;When a debugger statement is encounted in JScript code, the Microsoft Script Debugger is automatically started, if it isn't already open. The context for the debug session is the context of the code where the debugger statement appeared.
You can place debugger statements anywhere in procedures to suspend execution. Using the debugger statement is similar to setting a breakpoint in code. The value of all variables is preserved while execution is suspended.